*{
    margin: 0;
    padding: 0;
}
body{
    min-width: 320px;
    max-width: 540px;
    margin: 0 auto;
    font-size: 14px;
    background-color: #999;
}
.hd{
    position: fixed;
    top: 0px;
    min-width: 320px;
    max-width: 540px;
    width: 100%;
    z-index: 1;
}
.hd>ul{
    display: flex;
    list-style: none;
    height: 50px;
    background-color:black
}
.hd>ul>li:nth-child(1){
    width: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hd>ul>li:nth-child(1)>img{
    height: 16px;
   
}
.hd>ul>li:nth-child(2){
    display: flex;
    align-items: center;
    /* justify-content: center; */
    width: 12%;
}
.hd>ul>li:nth-child(2)>img{
    height: 35px;

}
.hd>ul>li:nth-child(3){
    width: 55%;
    display: flex;
    align-content:center;
    flex-wrap: wrap;
}
.hd>ul>li:nth-child(3)>span{
    width:100% ;
    display: block;
}
.hd>ul>li:nth-child(3)>span:nth-child(1){
    color: white;
}

.hd>ul>li:nth-child(3)>span:nth-child(2){
    color: #999;
}
.hd>ul>li:nth-child(4){
    background-color: #F43116;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hd>ul>li:nth-child(4)>a{
    color: white;
    display: flex;
    align-content:center;


}
.serch{
    margin-top: 50px;
    width: 100%;
    position: relative;
}
.serch>img{
    width: 100%;
}
.serch_top{
    width: 100%;
    position: absolute;
    top: 5px;
    display: flex;
}


.serch_top>div:first-child{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
}
.serch_top>div:first-child::before{
    content: "";
    width: 20px;
    height: 18px;
    background: url(../images/s-btn.png) 0 0 no-repeat;
    background-size: 20px auto;
    display: block;
}

.serch_top>div:nth-child(3){
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
}

.serch_top>div:nth-child(3)>a{
    color: white;
    display: block;
    text-decoration: none;
}
.serch_txt{
    flex-grow: 1;
    outline: none;
    height: 30px;
    border-radius: 15px;
    border: none;
    margin: 0 15px;
    background-color: white;
    display: flex;
    align-items: center;
}
.logo{
    width: 20px;
    height: 15px;
    margin-left: 15px;
    background: url(../images/jd.png) no-repeat;
    background-size: 20px auto;
}

.logo::after{
    display: block;
    content: "";
    height: 15px;
    border-right: solid 1px rgb(221, 221, 221);
    position: absolute;
    left: 100px;
}
.big{
    width: 18px;
    height: 15px;
    background: url(../images/jd-sprites.png) no-repeat;
    background-size: 200px 200px;
    background-position-x: -81px;
    margin-left: 10px;
    margin-right: 9px;
}
.ha{
    font-size: 12px;
    color: #999;
}
.big_img{
    width: 100%;
    height: 128px;
    display: flex;
    font-size: 0px;
}

.big_img>img{
    flex: 1;
}

.nav{
    margin-top: 2px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-bottom: 30px;
}
.nav>li{
    flex: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.nav>li>span:first-child{
    width: 45px;
    height: 45px;
    margin: 23px 0;
}

.nav>li:nth-child(odd)>span:first-child{
    display:block;
    width: 45px;
    height: 45px;
    background-image: url(../upload/nav1.webp);
    background-size: 45px auto;
}
.nav>li:nth-child(even)>span:first-child{
    display:block;
    width: 45px;
    height: 45px;
    background-image: url(../upload/nav2.webp);
    background-size: 45px auto;
}

.goods{
    width: 100%;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 55px;
}
.goods>li{
    overflow: hidden;
    width:calc(50% - 5px ) ;
    border-radius: 10px;
    background-color: white;
    margin-top: 15px;
}
.goods>li:nth-child(odd){
    margin-right: 10px;
}
.goods>li>img{
    width: 100%;
}

.goods_txt>span:first-child{
    display: inline-block;
    width: 34px;
    height: 20px;
    background: url(../upload/zy.png) no-repeat;
    background-size: 34px auto;
}
.price{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}
.price>div:first-child{

    color: red;
   
    
}
.price>div:first-child>span{
    font-weight: bold;
    display: inline-block;
    border: solid 2px red;
    border-radius: 5px;
}
.price>span{
    color: #999;
    display: inline-block;
    border-radius: 5px;
    background-color: #eee;
}

.foottt{
    position: fixed;
    bottom: 0px;
    min-width: 320px;
    max-width: 540px;
    width: 100%;
    z-index: 1;
    height: 55px;
    background-color: white;
    list-style: none;
    display: flex;
}

.foottt>li{
  flex: 20%;
}
.foottt>li>img{
    width: 70%;
  }
